package com.ruoyi.business.service.koc;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.dto.admin.user.TbUserBabyPageQueryDTO;
import com.ruoyi.business.domain.dto.api.user.AddMyBabyDTO;
import com.ruoyi.business.domain.dto.api.user.EditMyBabyDTO;
import com.ruoyi.business.domain.koc.TbUserBaby;
import com.ruoyi.business.domain.vo.TbUserBabyPageVO;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.page.TableDataInfo;

import java.util.Collection;

public interface ITbUserBabyService extends IService<TbUserBaby> {

    TableDataInfo<TbUserBaby> queryMyBabyPageList(Long userId, PageQuery pageQuery);

    boolean editMyBaby(Long userId, EditMyBabyDTO editMyBabyDTO);

    boolean addMyBaby(Long userId, AddMyBabyDTO addMyBabyDTO);

    Boolean deleteByIds(Collection<String> ids);

    TableDataInfo<TbUserBabyPageVO> queryPageList(TbUserBabyPageQueryDTO dto, PageQuery pageQuery);

}
